﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="Search.aspx.cs" Inherits="Search" %>
<%@ Register TagPrefix="cc1" Namespace="SiteUtils" Assembly="CollectionPager" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div style="text-align: center; font-size: large;" class="style1">

        <strong>Kết quả tìm kiếm&nbsp;&nbsp;</strong></div>
<div id="tier3_centercont">
    <asp:Repeater ID="SearchResult" runat="server">
    <ItemTemplate>
    <div class="tier3_centerprd">
             <a href='<%# Eval("id", "item.aspx?id={0}") %>'><img alt='<%# Eval("name") %>' title='<%# Eval("name") %>' src='images/items/<%# Eval("image") %>' width="152" height="209" style="margin-top:10px; margin-left:10px" /></a>
             <div class="tittle2"><a href='<%# Eval("id", "item.aspx?id={0}") %>'><%# Eval("name") %></a><br />
             <span style="color:#900"><%# Eval("price", "{0:0,0}") %> VNĐ</span></div>
        </div>
    </ItemTemplate>
    </asp:Repeater>
</div>
<div align="center" style="margin: 10px; padding: 10px">
    <cc1:CollectionPager ID="CollectionPager1" runat="server" BackText="« Trước" FirstText="-- Đầu" LabelText="Trang:" LastText="Cuối" NextText="Sau »" ResultsFormat="Kết quả sản phẩm từ {0}-{1} (của {2})" ShowFirstLast="True" SliderSize="5" PagingMode="PostBack"></cc1:CollectionPager>
    </div>
</asp:Content>

